package s.k.gui.webtest.element.locator;

import java.util.ArrayList;
import java.util.List;

public class LocatorChain {

	private List<LocatorValue> infoNodes;

	public List<LocatorValue> getInfoNodes() {

		return infoNodes;

	}

	public LocatorChain() {

		this.infoNodes = new ArrayList<LocatorValue>();

	}

	public void addNode(LocatorValue infoNode) {

		this.infoNodes.add(infoNode);

	}

	public void addParentNode(List<LocatorValue> parentNode) {

		this.infoNodes.addAll(parentNode);
	}
}
